﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CatAndDog3
{
    class Cat : Animal
    {
        public Cat() : base()
        { }

        public Cat(string name) : base(name)
        { }

        public override string Shout()
        {
            string s = "我的名字叫" + name;
            for (int i = 0; i < ShoutNum; i++)
                s += " 喵";

            return s;
        }
    }
}
